package com.yfp.client.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yfp.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Description: 设备机器
 * 
 * @CreateDate: 2024/5/23 14:05
 * @UpdateUser: 
 * @UpdateDate: 2024/5/23 14:05
 * @UpdateRemark: 暂无修改
 * @Version: 1.0
 */
@TableName(value = "machine")
@Data
@ApiModel("设备机器")
public class Machine extends BaseEntity {
    @TableId
    @ApiModelProperty("机器id")
    private String machineId;
    @ApiModelProperty("公司id")
    private String companyId;
    @ApiModelProperty("区域id")
    private String areaId;
    @ApiModelProperty("线路id")
    private String routeId;
    @ApiModelProperty("点位id")
    private String positionId;
    @ApiModelProperty("设备类型（1：二代机  2：三代机）")
    private Integer machineType;
    @ApiModelProperty("设备名称")
    private String machineName;
    @ApiModelProperty("维修负责人userid")
    private String serviceContracts;
    @ApiModelProperty("设备投放时间")
    private Date operationTime;
    @ApiModelProperty("投放地址")
    private String positionAddr;
    @ApiModelProperty("经度")
    private String longitude;
    @ApiModelProperty("纬度")
    private String latitude;
    @ApiModelProperty("冷藏温度")
    private String temperature;
    @ApiModelProperty("开门检测（正常1/异常0）")
    private Integer openDoorCheck;
    @ApiModelProperty("关门检测（正常1/异常0）")
    private Integer closeDoorCheck;
    @ApiModelProperty("出餐检测（正常1/异常0）")
    private Integer outMealCheck;
    @ApiModelProperty("取餐检测（正常1/异常0）")
    private Integer takeMealCheck;
    @ApiModelProperty("设备电量")
    private String kwh;
    @ApiModelProperty("运营状态（1：运营中，2：休息中 3：故障中 4: 补货）")
    private Integer operationStatus;
    @ApiModelProperty("启用1/禁用0")
    private Integer enable;
    @ApiModelProperty("固件版本")
    private String firmwareVersion;
    @ApiModelProperty("app版本")
    private String appVersion;
    @ApiModelProperty("app版本名称")
    private String appVersionName;
    @ApiModelProperty("主广告id")
    private String masterAdId;
    @ApiModelProperty("副广告id")
    private String secondaryAdId;
    @ApiModelProperty("VMC连接状态")
    private String vmcStatus;
    @ApiModelProperty("是否删除")
    private Boolean isDelete;
    @ApiModelProperty("设备型号")
    private String machineModel;
    @ApiModelProperty("创建人-关联用户id")
    private Long createOper;
    @ApiModelProperty("设备编号")
    private String machineSn;
    @ApiModelProperty("0- 支付宝/微信 1-微信 2-支付宝")
    private Integer payType;
    @ApiModelProperty("备注")
    private String remark;
    @ApiModelProperty("设备库存阈值（0-100）")
    private String threshold;
    @ApiModelProperty("在线状态 0：离线 1：在线")
    private Integer onlineStatus;
    @ApiModelProperty("温度检测（正常1/异常0）")
    private Integer temperatureCheck;
    @ApiModelProperty("网络检查（正常1/异常0）")
    private Integer networkCheck;
    @ApiModelProperty("设备检查（正常1/异常0）")
    private Integer deviceCheck;
    @ApiModelProperty("离线更新时间")
    private Date offlineUpdateTime;
    @Schema(title = "城市名称")
    private String cityName;
}